﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
	CodeBehind="Blacklist.aspx.cs" Inherits="SBACN.WebSite.BlackList.Blacklist" %>

<%@ Register Src="~/UC/Navigator.ascx" TagName="Navigator" TagPrefix="uc1" %>
<%@ Register Src="~/UC/Menu.ascx" TagName="Menu" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript" src="../js/plugin/jquery.blockUI.js"></script>
	<script type="text/javascript">
//		$jqy(function () {
//			$jqy.blockUI({
//				message: $jqy("#blacklayer"),
//				css: {
//					top: '30%',
//					left: '35%',
//					width: '380px',
//					hight: '140px'
//				}
//			})
//		})
		function into() {
			$jqy.unblockUI();
		}
		function nointo() {
			$jqy.unblockUI();
			history.go(-1);
		}
		function Check() {
			var Name = $jqy("#<%=SName.ClientID  %>").val();
			var CID = $jqy("#<%=SCID.ClientID %>").val();
			if (Name == "") {
				alert("请输入姓名！");
				return false;
			}
			if (CID == "") {
				alert("请输入身份证号码！");
				return false;
			}

			return true;
		}
	</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<!--主内容区-->
	<div id="wrapper">
		<uc1:Navigator ID="Navigator1" runat="server" />
		<!--左边栏-->
		<uc2:Menu ID="Menu1" runat="server" />
		<!--左边栏-->
		<div id="container_r">
			<div id="pic_box">
				<img src="../images/mem_img.jpg" width="756" height="126" /></div>
			<div id="main_rbox">
				<table width="100%" border="0" cellspacing="4" cellpadding="0">
					<tr >
						<td >
							<img src="../images/warning_icon.png" alt="警告" />
						</td>
						<td width="">
							<strong>审慎录用名单由相关会员单位提供，公会整理发布，公会未做实质性审查，仅供会员单位人力资源部有限使用和参考。若有任何疑问，请直接联系提供该等信息的会员单位。</strong>
						</td>
					</tr>
					<tr>
						<td width="100%" colspan="2" style="padding-top: 10px; padding-bottom: 15px" >
						<div id="bk_search">
							姓名：<asp:TextBox runat="server" Width="100px" ID="SName" CssClass="qa_input"></asp:TextBox>
							&nbsp;&nbsp;&nbsp;
							身份证号码：<asp:TextBox runat="server" Width="170px" ID="SCID" CssClass="qa_input"></asp:TextBox>
							<asp:Button runat="server" Text="查询" ID="btn_Search" OnClick="Search_Click" OnClientClick="return Check();" CssClass="qa_btn" />
						</div>
						</td>
					</tr>
					<tr>
					<td colspan="2" style="border-bottom-style: dashed; border-bottom-width:1px;"></td>
					</tr>
				</table>
				<table width="100%" border="0" cellspacing="4" cellpadding="0" id="condition" style="padding-top: 8px;">
					<tr>
						<td width="15%">
							<strong>姓名:</strong>
						</td>
						<td width="15%">
							<%= Name %>
						</td>
						<td width="15%">
							<strong>身份证号码:</strong>
						</td>
						<td>
							<%= CID %>
						</td>
					</tr>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="border_collapse" >
					<tr>
						<td width="30%" class="grid_title">
							原服务机构名称
						</td>
						<td width="25%" class="grid_title">
							时间
						</td>
						<td width="45%" class="grid_title">
							具体事由
						</td>
					</tr>
					<tr runat="server" id="Msg" visible="false">
						<td colspan="3" style="text-align:center;" class="grid_row">
							我会审慎录用人员库中查无此人！
						</td>
					</tr>
					<asp:Repeater runat="server" ID="List">
						<ItemTemplate>
							<tr>
								<td class="grid_row">
									<%# Eval("CompanyName") == "" ? "无详细说明" : Eval("CompanyName")%>
								</td>
								<td class="grid_row">
									<%# Eval("AboutTime") == "" ? "无详细说明" : Eval("AboutTime")%>
								</td>
								<td class="grid_row">
									<%# Eval("Description") == "" ? "无详细说明" : Eval("Description")%>
								</td>
							</tr>
						</ItemTemplate>
					</asp:Repeater>
				</table>
			</div>
		</div>
	</div>
	<div style="clear: both;">
	</div>
	<!--主内容区-->
	<!--弹出层-->
	<div id="blacklayer" style="display: none;">
		<div id="blackmain">
			<div id="blacklayer_close">
				</div>
			<div id="blacklayer_content">
				<img src="../images/warning_icon.png" width="32" height="32" /><span>审慎录用名单由相关会员单位提供，公会整理发布，公会未做实质性审查，仅供会员单位人力资源部有限使用和参考。若有任何疑问，请直接联系提供该等信息的会员单位。</span>
			</div>
			<div id="blacklayer_btn">
				<input type="button" class="btnsearch" onclick="into()" value="我接受" />&nbsp;<input type="button" class="btnsearch" onclick="nointo()" value="拒绝" />
			</div>
		</div>
	</div>
	<!--弹出层-->
</asp:Content>
